package com.example.cxbase;

import android.app.Activity;
import android.app.ActivityManager;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.cx.util.AppUtils;
import com.tencent.bugly.Bugly;
import com.tencent.bugly.crashreport.CrashReport;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import java.util.Stack;

/**
 * Author by ziv, Email wuming5445@dingtalk.com, Date on 2020/9/30.
 */
public class MyApp extends Application {
    private static final String TAG = "MyApp";
    public static boolean isCrash;

    @Override
    public void onCreate() {
        super.onCreate();
//        CrashReport.initCrashReport(this, "3349140174", true);
//        AppUtils.init(this);
//        Log.d(TAG, "init");


    }


    public static void print(Activity activity, String content) {
        Log.d(TAG, activity.getClass().getName() + ":" + content);
    }


}
